import styled,{createGlobalStyle} from 'styled-components'

// css in js
export const GlobalStyle=createGlobalStyle`
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section {
    display: block;
    }
    body {
    line-height: 1;
    }
    html, body {
    background: #f2f3f4;;
    }
    ol, ul {
    list-style: none;
    }
    blockquote, q {
    quotes: none;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    content: '';
    content: none;
    }
    table {
    border-collapse: collapse;
    border-spacing: 0;
    }
    a {
    text-decoration: none;
    color: #fff;
    }
`
export const Section=styled.div`
    border-bottom:1px solid grey;
    /* height: 200px; */
    width: 380px;
    padding: 10px;
`
export const Header=styled.div`
    display: flex;
    height: 30px;
    h3,h4,p{
        margin: 5px;
    }
    h4{
        color: gray;
    }
    h3:after{
        content: '|';
        margin: 5px 0px 5px 10px;
        color: gray;
    }
    p{
        margin-left:auto;
        color: gray;
        /* font-size:10px; */
    }
`
export const Content=styled.div`
    h1{
        font-size: 18px;
        font-weight:700;
        text-align: left;
        /* height: 50px; */
        width: 100%;
        line-height:25px;
        margin:5px;
    }
    div p{
        float: left;
        /* margin: 5px; */
        margin-left: 5px;
        height: 70px;
        width:70%;
        font-size:15px;
        text-align: left;
        /* line-height: 70px; */
        /* background-color: pink; */
    }
    div img{
        float: right;
        height: 65px;
        width:27%;

    }
`
export const Footer=styled.div`
    padding-top:5px;
    display: flex;
    justify-content:space-between;
    clear: both;
    padding-bottom: 8px;
    p{
        display: inline-block;
        margin-left: 5px;
        margin-right:10px;
    }
    span{
        border: 1px solid gray;
        margin-left: 5px;
        padding:0 5px;
        background-color: #fff;
    }
`